リストボックスを描画します。
シンタックス
'宣言
Public Overloads Shared Sub DrawListBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Collections.Generic.IList(Of ChoiceFieldItem), _
ByVal () As System.Integer, _
ByVal As System.Integer, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As System.Boolean, _
ByVal As System.Single _
)
public static void DrawListBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.Collections.Generic.IList<ChoiceFieldItem> ,
System.int[] ,
System.int ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.Color ,
Border ,
System.bool ,
System.float
)
パラメータ
- g
- 描画するグラフィック。
- bounds
- コントロールの境界線。
- items
- コントロールの項目。
- si
- 選択されたインデックスのリスト。
- topIndex
- 先頭に表示される項目のインデックス。
- font
- 使用するフォント。
- fontSize
- フォントサイズ。
- foreColor
- 背景色。
- backColor
- 背景色。
- border
- 境界線の定義。
- required
- で指定された色を無視し、境界線を赤色で描画するかどうかを示します。
- orientation
- 回転角度は90の倍数である必要があります。
参照